package com.ruoyi.cmenonmetal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * NonmetalOrder对象 zx_nonmetal_order_form
 *
 * @author zhangxu
 * @date 2021-12-16
 */
public class ZxNonmetalOrderForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排序 */
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String clientName;

    /** 客户电话 */
    @Excel(name = "客户电话")
    private String clientPhone;

    /** 交付日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交付日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateReleased;

    /** 录入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "录入时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inputime;

    /** 技术交底人 */
    @Excel(name = "技术交底人")
    private String dataPreprocessor;

    /** 录入人员 */
    @Excel(name = "录入人员")
    private String salesman;

    /** 技术要求 */
    @Excel(name = "技术要求")
    private String technicalRequirements;

    /** 相关文件 */
    private String documents;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setClientName(String clientName)
    {
        this.clientName = clientName;
    }

    public String getClientName()
    {
        return clientName;
    }
    public void setClientPhone(String clientPhone)
    {
        this.clientPhone = clientPhone;
    }

    public String getClientPhone()
    {
        return clientPhone;
    }
    public void setDateReleased(Date dateReleased)
    {
        this.dateReleased = dateReleased;
    }

    public Date getDateReleased()
    {
        return dateReleased;
    }
    public void setInputime(Date inputime)
    {
        this.inputime = inputime;
    }

    public Date getInputime()
    {
        return inputime;
    }
    public void setDataPreprocessor(String dataPreprocessor)
    {
        this.dataPreprocessor = dataPreprocessor;
    }

    public String getDataPreprocessor()
    {
        return dataPreprocessor;
    }
    public void setSalesman(String salesman)
    {
        this.salesman = salesman;
    }

    public String getSalesman()
    {
        return salesman;
    }
    public void setTechnicalRequirements(String technicalRequirements)
    {
        this.technicalRequirements = technicalRequirements;
    }

    public String getTechnicalRequirements()
    {
        return technicalRequirements;
    }
    public void setDocuments(String documents)
    {
        this.documents = documents;
    }

    public String getDocuments()
    {
        return documents;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("clientName", getClientName())
            .append("clientPhone", getClientPhone())
            .append("dateReleased", getDateReleased())
            .append("inputime", getInputime())
            .append("dataPreprocessor", getDataPreprocessor())
            .append("salesman", getSalesman())
            .append("technicalRequirements", getTechnicalRequirements())
            .append("documents", getDocuments())
            .toString();
    }
}
